package com.chinasoft.user.vo;

import com.chinasoft.dish.domain.Dish;
import com.chinasoft.user.domain.Business;

import java.util.List;

/**
 * 商家及其菜单
 */
public class BusinessVo extends Business {

    //创建菜单对象链表
    private List<Dish> dishList;

    public List<Dish> getDishList() {
        return dishList;
    }

    public void setDishList(List<Dish> dishList) {
        this.dishList = dishList;
    }

    @Override
    public String toString() {
        return "BusinessVo{" +
                "id='" + super.getId() + '\'' +
                ", busName='" + super.getBusName() + '\'' +
                ", address='" + super.getAddress() + '\'' +
                ", phone='" + super.getPhone() + '\'' +
                ", busImage='" + super.getBusImage() + '\'' +
                "dish=" + dishList +
                '}';
    }
}
